package com.example.hospitalsystem.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("comments")
public class Comments implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    private int commentId;
    private int designId;
    private int userId;
    private String username;
    private String commentText;
    private String image;
    private LocalDateTime commentTime;
    private int parentCommentId;
}
